package com.fanqwz.kotlinmvvm.domain.repo

import com.fanqwz.kotlinmvvm.domain.`object`.Session
import com.fanqwz.kotlinmvvm.domain.`object`.User
import io.reactivex.Flowable

/**
 * Created by fanqwz on 2018/3/1.
 */

interface UserRepository: IRepository{
    fun login(name:String, passwd:String): Flowable<User>
    fun logon(name:String, passwd:String): Flowable<User>
    fun session(user: User): Flowable<Session>
}